//
//  TestChain2Controller.m
//  ProjectDemo
//
//  Created by IOS3 on 2019/3/8.
//  Copyright © 2019 IOS3. All rights reserved.
//

#import "TestChain2Controller.h"
#import "UIButton+YJCSetting.h"
#import "UILabel+YJCSetting.h"
#import "UIView+YJCSetting.h"


@interface TestChain2Controller ()

@end

@implementation TestChain2Controller

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.setBGColor(UIColor.whiteColor);
    
    UILabel *lable1 = UILabel.new
    .setText(@"title").setSysFont(18)
    .setFrame(CGRectMake(0, 100, 300, 50))
    .setAlignment(NSTextAlignmentLeft)
    .setTextColor(UIColor.blueColor)
    .setBGColor(UIColor.orangeColor);
    
    UIButton *btn = UIButton.new
    .setTitle(@"button", UIControlStateNormal)
    .setTitleColor(UIColor.redColor, UIControlStateNormal)
    .setFrame(CGRectMake(1, 150, 100, 50));
    
    self.view.addSubView(lable1).addSubView(btn);
    
}

- (void)dealloc {
    DLog(@"TestChain2Controller dealloced");
}

@end
